package com.hyk.commonLib.common.utils.netRequest.server;//package com.hyk.CommonLib.common.utils.netRequest.server;
//
//import net.yourbay.yourbaytst.common.entity.NetBaseObj;
//import net.yourbay.yourbaytst.common.utils.netRequest.annotation.BaseUrlType;
//import net.yourbay.yourbaytst.config.UrlConfig;
//import net.yourbay.yourbaytst.login.entity.ReturnLoginObj;
//
//import io.reactivex.Observable;
//import retrofit2.http.Field;
//import retrofit2.http.FormUrlEncoded;
//import retrofit2.http.POST;
//
///**
// * Created by 贺玉琨 on 2019/3/6 0006.
// */
//@BaseUrlType(UrlConfig.URL_TYPE_ACCOUNT_SERVER)
//public interface AccountCenterServer {
//    int TYPE_SEND_CODE_REGISTER = 1;
//    int TYPE_SEND_CODE_RESET_PWD = 2;
//
//
//    @FormUrlEncoded
//    @POST("ybuser/Account/login")
//    Observable<ReturnLoginObj> login(@Field("phone") String phone, @Field("password") String password);
//
//    @FormUrlEncoded
//    @POST("ybuser/Accounth5/accountCenterMobileRegister")
//    Observable<ReturnLoginObj> register(@Field("phone") String phone, @Field("password") String password, @Field("code") String code, @Field("userName") String userName);
//
//    @FormUrlEncoded
//    @POST("ybuser/Accounth5/accountCenterMobileSendCode")
//    Observable<NetBaseObj> sendCode(@Field("phone") String phone, @Field("type") int type);
//
//    @FormUrlEncoded
//    @POST("ybuser/Accounth5/accountCenterMobileResetPassword")
//    Observable<NetBaseObj> resetPassword(@Field("phone") String phone, @Field("password") String password, @Field("code") String code);
//}